/*
 * Amadeus Confidential Information:
 * Unauthorized use and disclosure strictly forbidden.
 * @1998-2007 - Amadeus s.a.s - All Rights Reserved.
 */
package com.amadeus.spin.devtool.soap.shooter.filter;

import com.amadeus.spin.devtool.soap.shooter.config.SoapShooterInitializationException;

public interface FilterHandler {

  /**
   * 
   * @param filterName
   * @param filterType
   * @param filterValue
   * @throws SoapShooterInitializationException
   */
  void addFilter(String filterName, String filterType, String filterValue) throws SoapShooterInitializationException;

  /**
   * Replaces all the filters
   * 
   * @param input
   * @return
   */
  String applyFilters(String input);

  /**
   * Override the filters previously added
   * 
   * @param filterName
   * @param filterType
   * @param filterValue
   * @throws SoapShooterInitializationException
   */
  void replaceFilters(String[] optionFilters) throws SoapShooterInitializationException;

}
